package com.xuelang.pipeline.artifact.app.nexus3v1.request;

import com.xuelang.pipeline.artifact.app.nexus3v1.xo.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiwen.zxg
 * @since 2024/7/10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CreateMavenProxyRequest {
    private CleanupPolicyAttributes cleanup;
    private HTTPClientAttributesWithPreemptiveAuth httpClient;
    private MavenAttributes maven;
    /**
     * A unique identifier for this repository
     */
    private String name;
    private NegativeCacheAttributes negativeCache;
    /**
     * Whether this repository accepts incoming requests
     */
    private boolean online;
    private ProxyAttributes proxy;
    private ReplicationAttributes replication;
    private String routingRule;
    private StorageAttributes storage;
}
